import org.hamcrest.core.StringEndsWith;
import org.junit.jupiter.api.Test;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.StringContains.containsString;

/**
 * @author **
 * @version 1.0
 * @description
 * @Date 2021/11/6 4:38 PM
 */
public class allureDemo {

    @Test
    public void demo1(){
        assert 1+1 == 2 ;
    }

    @Test
    public void demo2() {
        assertThat("text123", containsString("text"));
    }
    @Test
    public void demo3(){
        assertThat("text123", StringEndsWith.endsWith("text"));
    }
}

